gtk+3.0.git
2 years agoreftests: Allow minor differences to be tolerated
Simon McVittie [Sat, 13 Feb 2021 16:19:10 +0000 (16:19 +0000)]
reftests: Allow minor differences to be tolerated

Based on an earlier patch by Michael Biebl, with additional inspiration
from librsvg's reftests.

Each .ui or .node reftest can have an accompanying .keyfile file
like this:

    [reftest]
    tolerated-diff-level=20
    tolerated-diff-pixels=1000

If the image differs, but the number of pixels that differ is no more
than tolerated-diff-pixels and the differences are no more than
tolerated-diff-level, then we treat it as a success with warnings, save
the .diff.png for analysis, and use g_test_incomplete() to record the
test-case as "TODO".

Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required

Gbp-Pq: Name reftests-Allow-minor-differences-to-be-tolerated.patch

2 years agoreftest_compare_surfaces: Report how much the images differ
Simon McVittie [Sat, 13 Feb 2021 18:26:24 +0000 (18:26 +0000)]
reftest_compare_surfaces: Report how much the images differ

In unattended/non-interactive/autobuilder environments where the images
are not trivially accessible, this provides a way to distinguish between
totally different rendering and more subtle issues.

Signed-off-by: Simon McVittie <smcv@debian.org>
Forwarded: https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/3195
Applied-upstream: no, upstream want reftests to be a strict pass/fail with identical results required

Gbp-Pq: Name reftest_compare_surfaces-Report-how-much-the-images-diffe.patch

2 years agoDon't list images from unknown directories in icon cache
Loic Minier [Sun, 21 Oct 2007 20:05:42 +0000 (22:05 +0200)]
Don't list images from unknown directories in icon cache

After GTK 2.12.0, gtk-update-icon-cache fails if there is a PNG file
placed directly in /usr/share/icons/hicolor (not in a correct
subdirectory like 48x48/apps).

TODO: This is believed to have been fixed differently upstream, so maybe
this change is no longer necessary:
"I believe a slightly different fix that I did some time ago fixes this
too." --Matthias Clasen, 2008-02-16 04:43:10 UTC

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=451634
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=444285
Forwarded: yes
Applied-upstream: no

Gbp-Pq: Name 060_ignore-random-icons.patch

2 years agoDo not allow devices in an offscreen hierarchy to take grabs.
Robert Carr [Tue, 29 Nov 2011 23:25:29 +0000 (00:25 +0100)]
Do not allow devices in an offscreen hierarchy to take grabs.

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=658563
Bug: https://gitlab.gnome.org/GNOME/gtk/issues/368
Bug-Ubuntu: https://launchpad.net/bugs/804009
Forwarded: yes

Gbp-Pq: Name 017_no_offscreen_device_grabbing.patch

2 years agoDon't let offscreen widget do grabbing
Cody Russell [Tue, 29 Nov 2011 23:25:29 +0000 (00:25 +0100)]
Don't let offscreen widget do grabbing

Bug: https://bugzilla.gnome.org/show_bug.cgi?id=607668
Bug: https://bugzilla.gnome.org/show_bug.cgi?id=658563
Bug: https://gitlab.gnome.org/GNOME/gtk/issues/368
Bug-Ubuntu: https://bugs.launchpad.net/bugs/512427
Forwarded: yes

Gbp-Pq: Name 016_no_offscreen_widgets_grabbing.patch

2 years agogtk+3.0 (3.24.38-4) unstable; urgency=medium
Jeremy Bícha [Wed, 9 Aug 2023 22:10:50 +0000 (23:10 +0100)]
gtk+3.0 (3.24.38-4) unstable; urgency=medium

  * Have -dev package depend on libcloudproviders-dev on Debian

[dgit import unpatched gtk+3.0 3.24.38-4]

2 years agoImport gtk+3.0_3.24.38-4.debian.tar.xz
Jeremy Bícha [Wed, 9 Aug 2023 22:10:50 +0000 (23:10 +0100)]
Import gtk+3.0_3.24.38-4.debian.tar.xz

[dgit import tarball gtk+3.0 3.24.38-4 gtk+3.0_3.24.38-4.debian.tar.xz]

2 years agoImport gtk+3.0_3.24.38.orig.tar.xz
Jeremy Bícha [Mon, 22 May 2023 17:35:52 +0000 (18:35 +0100)]
Import gtk+3.0_3.24.38.orig.tar.xz

[dgit import orig gtk+3.0_3.24.38.orig.tar.xz]